package com.spring.nio.business.user.mapper;

import com.spring.nio.business.user.repository.dataobject.UserDo;
import com.spring.nio.business.user.repository.param.UserDalQueryParam;
import com.spring.nio.core.repository.repository.BaseMapperRepository;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 *@author spring
 *项目名: nio-server
 *文件名: UserRepository
 *创建者: spring
 *创建时间:2021/4/21 18:58
 *描述:
 */
@Mapper
public interface UserRepository extends BaseMapperRepository<UserDalQueryParam, UserDo> {

    /**
     * 根据用户名查询，模糊或是等值查询
     * @param userDalQueryParam
     * @return List<UserDo></>
     * */
    List<UserDo> getUserByName(UserDalQueryParam userDalQueryParam);
}
